package com.vietnam.power.service;

import java.util.List;

import com.vietnam.power.domain.PatronInfo;
import com.vietnam.power.domain.SaleOrder;
import com.vietnam.power.domain.Transaction;
import com.vietnam.power.domain.TransactionSearchCriteria;

public interface TransactionService {

	public void createTransaction(SaleOrder saleOrder);

	public void updateTransaction(Transaction saleOrder);

	public Transaction getTransactionById(int id);

	public List<Transaction> searchTransaction(TransactionSearchCriteria s);
	
	public void updatePatronInfo(PatronInfo patronInfo);
	
	public PatronInfo getPatronInfoById(int id);
}
